package com.spvs.job.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spvs.common.core.annotation.Excel;
import com.spvs.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 保养计划对象 equip_upkeep_plan_record
 *
 * @author supervision
 * @date 2024-06-09
 */
@Data
public class EquipUpkeepPlanRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保养计划编码 */
    private Long id;

    /** 计划名称 */
    @Excel(name = "计划名称")
    private String name;

    /** 计划内容 */
    @Excel(name = "计划内容")
    private String content;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 周期 */
    @Excel(name = "周期")
    private String cycle;

    /** 负责人 */
    @Excel(name = "负责人")
    private String liablePerson;

    /** 是否生效 */
    @Excel(name = "是否生效")
    private Long state;

    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveDate;
    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    private Long deptId;
    private Long userId;
}
